package com.foreknow.demo2;

import java.util.Scanner;

/**
 * 循环的嵌套
 */
public class LoopDemo5 {
    public static void main(String[] args) {

        for (int i = 1;i<=3;i++) {  //外层循环执行3次
            for (int j = 1;j<=5;j++) {  //内层循环执行5次
                System.out.println(i + "    " + j);
            }
        }

    }
}










